<template>
	<view class="tips">
		<view class="tips-box">
			新消息提醒剩余：
			<text class="text-success text-bold u-p-r-10">{{number}}</text>
			次
			<u-icon name="info-circle" color="warning" size="28" class="u-m-l-15"></u-icon>
		</view>
	</view>
</template>

<script>
	export default {
		name: "tips",
		props: {
			number: {
				type: [String, Number],
				default: '0'
			}
		},
		data() {
			return {
			}
		}
	}
</script>

<style scoped lang="scss">
	.tips {
		height: 100rpx;
		line-height: 100rpx;
		text-align: center;
		margin-top: 24rpx;
		font-weight: 700;
		&-box {
			background: #fff;
			padding-bottom: calc(env(safe-area-inset-bottom) / 2);
			position: fixed;
			left: 0;
			right: 0;
			bottom: 0;
			z-index: 99;
		}
	}
</style>
